-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make overrides of Mage_Core_Model_Resource_Db_Abstract::delete respect parent api #1257
Conversation
@Flyingmana @sreichel review pls? |
It is BC break, labeled it and changed base branch to 20.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems ok
for future compatibility, you should consider to replace catch of Exception
to Throwable
I switched them |
But we should still add a note to the README in the "differences between v19 and v20" |
Updated the branch since the README's version was ancient and added the note to the README. |
Description (*)
I fixed overrides of Mage_Core_Model_Resource_Db_Abstract::delete to respect parent api, which means:
$this
Fixed Issues (if relevant)
Manual testing scenarios (*)
Admin panel
admin_user
table that not allow you delete record (e.g. foreign key referencing the table withRESTRICT
ruleON DELETE
)API
There is changes also in API resource model, so we should test it also.
Contribution checklist (*)